{extend name='extra@admin/content'}

{block name="button"}
{/block}

{block name="content"}

<!-- 表单搜索 开始 -->
<!-- 表单搜索 结束 -->
    <table class="layui-table" lay-skin="line" lay-size="sm">
        <thead>
            <tr>
                <th class='text-left nowrap'>时间</th>
                <th class='text-left nowrap'>入库</th>
                <th class='text-left nowrap'>出库</th>
                <th class='text-left nowrap'>报损</th>
                <th class='text-left nowrap'>当前库存</th>
                <th class='text-left nowrap'>备注</th>
            </tr>
        </thead>
        <tbody>
            {volist name='list' id='vo'}
            <tr>
                <td class='text-left nowrap'>
                    {$vo.addtime|date='Y-m-d H:i:s',###}
                </td>
                <td class='text-left nowrap'>
                    {$vo.ruku_num}
                </td>
                <td class='text-left nowrap'>
                    {$vo.chuku_num}
                </td>
                <td class='text-left nowrap'>
                    {$vo.sunhao_num}
                </td>
                <td class='text-left nowrap'>
                    {$vo.cur_stock}
                </td>
                <td class='text-left nowrap'>
                    {$vo.remark}
                </td>
            </tr>
            {/volist}
        </tbody>
    </table>
    {if isset($page)}<p>{$page}</p>{/if}
    <script>
        window.laydate.render({range: true, elem: '#range-date', format: 'yyyy/MM/dd'});
    </script>
{/block}